package com.lancoo.znbkxx.beans;

import java.io.Serializable;

/**
 * Create by TangJun on 2019/2/16
 */
public class SamplePaperBean implements Serializable {
    /* PaperIDstring试卷ID
             PaperNamestring试卷名称
     SubmitStuCountint已提交的学生数目
             TotalStuCountint总学生数目
     AnswerCountint已作答的小题数目
             TotalCountint试卷的小题总数目
     HighestScorefloat最高分
             AverageScorefloat平均分
     Scorefloat我的得分
             Rankint排名
     StartTimestring试卷开始作答时间
             EndTimestring试卷截止作答时间
     ReleaseTimestring试卷发布时间*
     IsNewbool是否为新的*/
    private String paperID;
    private String paperName;
    private int submitStuCount;
    private int totalStuCount;
    private int answerCount;
    private int totalCount;
    private double highestScore;
    private double averageScore;
    private double score;
    private int rank;
    private String startTime;
    private String endTime;
    private String releaseTime;
    private int mState;
    private int mLayer;
    public SamplePaperBean(String id,String name, int ssCount, int tsCount, int aCount,
                           int tCount, double hScore, double aScore, double mScore, int iRank ,
                           String sTime, String eTime, String rTime, int state, int layer) {
        paperID = id;
        paperName = name;
        submitStuCount = ssCount;
        totalStuCount = tsCount;
        answerCount = aCount;
        totalCount = tCount;
        highestScore = hScore;
        averageScore = aScore;
        score = mScore;
        rank = iRank;
        startTime = sTime;
        endTime = eTime;
        releaseTime = rTime;
        mState = state;
        mLayer = layer;

    }
    public String getPaperID() {
        return paperID;
    }

    public void setPaperID(String paperID) {
        this.paperID = paperID;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public int getSubmitStuCount() {
        return submitStuCount;
    }

    public void setSubmitStuCount(int submitStuCount) {
        this.submitStuCount = submitStuCount;
    }

    public int getTotalStuCount() {
        return totalStuCount;
    }

    public void setTotalStuCount(int totalStuCount) {
        this.totalStuCount = totalStuCount;
    }

    public int getAnswerCount() {
        return answerCount;
    }

    public void setAnswerCount(int answerCount) {
        this.answerCount = answerCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public double getHighestScore() {
        return highestScore;
    }

    public void setHighestScore(double highestScore) {
        this.highestScore = highestScore;
    }

    public double getAverageScore() {
        return averageScore;
    }

    public void setAverageScore(double averageScore) {
        this.averageScore = averageScore;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public int getState() {
        return mState;
    }

    public void setState(int state) {
        mState = state;
    }
    public int getLayer(){
        return mLayer;
    }
    public void setLayer(int layer){
        mLayer = layer;
    }

    @Override
    public String toString() {
        return "SamplePaperBean{" +
                "paperID='" + paperID + '\'' +
                ", paperName='" + paperName + '\'' +
                ", submitStuCount=" + submitStuCount +
                ", totalStuCount=" + totalStuCount +
                ", answerCount=" + answerCount +
                ", totalCount=" + totalCount +
                ", highestScore=" + highestScore +
                ", averageScore=" + averageScore +
                ", score=" + score +
                ", rank=" + rank +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                ", mState=" + mState +
                ", mLayer=" + mLayer +
                '}';
    }
}

